class WorkMsgTag {
    public tagName: string = ''
    public sort: number | null = null
    public id: string = ''
    public tagId: string = ''
    
    // 前端使用的
    public active: boolean = false
    
    public static convertToFilterStruct(workMsgTag: WorkMsgTag, selected: boolean) {
      return {
        selected,
        text: workMsgTag.tagName,
        value: workMsgTag.id
      }
    }
    
  }
  
  export default WorkMsgTag
  